The online racing simulator
Searching in All forums
(282 results)
Flame CZE
S3 licensed
Moderator
Quote from Pukyy :Petition to start selling official LFS merch!

There used to be an official LFS merchandise shop but it was shut down in 2016 due to low sales.

https://www.lfs.net/forum/thread/89945
Flame CZE
S3 licensed
Moderator
yes/99/Flame CZE
Flame CZE
S3 licensed
Moderator
You can send an IS_MTC packet with the Sound property set to number 0-4 for a sound effect:

Quote :SND_SILENT,
SND_MESSAGE,
SND_SYSMESSAGE,
SND_INVALIDKEY,
SND_ERROR

Reload textures
Flame CZE
S3 licensed
Moderator
After updating a texture on a mod and exporting it into LFS for offline testing, I have to either restart LFS or switch between low res / high res textures in Options - Graphics for the new textures to appear.

It would be useful to have a dedicated command or a button in LFS to reload all textures.
Flame CZE
S3 licensed
Moderator
Quote from zmayco :Hey Scawen, In a next update. Add more gearshift quantities for vehicles, CVT transmission, for example, and enter the Wankell Rotary engine type.
And the option of single turbo, bi-turbo, etc. allows the pressure configuration of each turbine.

You probably didn't read the beginning of the first post:
Quote from Scawen :Hello Mod Creators,

Here is an update for the LFS Editor.

This is not a thread for random requests regarding the mods system.
For mods suggestions, use the Mods System Suggestions forum section.

Flame CZE
S3 licensed
Moderator
92/Flame CZE/Martin Kapal/Czech Republic/MAYBE Motorsports/mkapal
Last edited by Flame CZE, . Reason : changed team to MAYBE Motorsports
Flame CZE
S3 licensed
Moderator
no/99/Flame CZE
Flame CZE
S3 licensed
Moderator
Quote from Kid222 :No derivatives allowed means that you cannot make any changes to the model and noone else can make any changes to the model you have submitted to LFS - applies only for CGTrader, 3dlancer, free3d and 3dcadbrowser websites with their Royalty free license.

I'm not sure what this part is based on. I couldn't find a mention of this in the CGTrader's General Terms and Conditions.

Should this be rewritten so people who download or buy models under Royalty Free license from CGTrader would be allowed to modify the models?
Flame CZE
S3 licensed
Moderator
Quote from Aleksandr_124rus :It is possible to create an option in the game to load lod2 from a certain distance? Or, for example, the option that only 15 cars (can choose how many) closest to the camera can have lod1? For mods that have good quality lod2 and not too many triangles, this should help.

This is how it works already, LOD2 mesh is used from a certain distance.
Flame CZE
S3 licensed
Moderator
Last edited by Flame CZE, .
Flame CZE
S3 licensed
Moderator
Quote from Flame CZE :no/99/Flame CZE

Changed to “no”
Flame CZE
S3 licensed
Moderator
#99
Flame CZE
S3 licensed
Moderator
no/99/Flame CZE
Last edited by Flame CZE, .
Flame CZE
S3 licensed
Moderator
I've created a minimal working example app in TypeScript for you:https://github.com/mkapal/react-node-insim-example

I'll update the README later with more detailed instructions.
Flame CZE
S3 licensed
Moderator
There isn't an option for that. Cars that don't have a digital speedo will only display an analog gauge.

However, it is possible to display a digital speedo on screen using the InSim protocol. There are several apps that already do this:

Detect & Monitor
LFS Companion
The PACT Driving Assistant
Flame CZE
S3 licensed
Moderator
Quote from fabrandaz :Hi, I saw that using the editor it is possible to set the digital speedo; How do I enter in the editor? Is there a guide?

The LFS manual is a good starting point when you want to learn how to use the LFS Editor: https://en.lfsmanual.net/wiki/LFS_Editor
Flame CZE
S3 licensed
Moderator
InSim.NET is a good InSim library for C#: https://github.com/alexmcbride/insimdotnet
Node.js - React Node InSim - React renderer for InSim buttons
Flame CZE
S3 licensed
Moderator

🚧 This project is still under development. Any API may change as needed. Bugs and incomplete features are to be expected.

React Node InSim

Introducing React Node InSim, A React renderer for InSim buttons, based on Node.js with TypeScript support. It also provides layout components for easier button positioning, hooks for handling incoming InSim packets and tracking server connections & players.

Installation

npm install react@18 node-insim react-node-insim

or if you use Yarn:

yarn add react@18 node-insim react-node-insim

Basic Usage

To connect to an LFS server from your Node.js application, enter its hostname, a port and a short name for your application into the createRoot function, which will create a React root for you. Then you call root.render() just like you would with React DOM.

Quote from Basic usage: github.com/simbroadcasts/react-node-insim :
import { InSimFlags } from 'node-insim/packets';
import { Button, createRoot } from 'react-node-insim';

const root = createRoot({
name: 'React InSim',
host: '127.0.0.1',
port: 29999,
flags: InSimFlags.ISF_LOCAL,
});

root.render(
<Button top={100} left={80} width={30} height={10}>
Hello InSim!
</Button>,
);


Minimal working example app

A Node.js app written in TypeScript, which displays a single button on local LFS.

https://github.com/mkapal/react-node-insim-example

Components showcase

Button


Stack


Flex


Grid


Toggle button


Toggle button group


Text box


HooksTo learn more, including how to use the InSim button components or InSim hooks, check out the React Node InSim repository on GitHub.

GitHub | NPM | React Node InSim - An open-source project by Sim Broadcasts
Last edited by Flame CZE, .
Flame CZE
S3 licensed
Moderator
99/Flame CZE/Martin Kapal/CZE/SAVAGE SimSports
Flame CZE
S3 licensed
Moderator
The car class is set to "saloon car", I think it should be "truck".
Flame CZE
S3 licensed
Moderator
Thanks for creating the work in progress thread. Can you please upload the images as attachments to your first post? If you use a 3rd party image hosting service, it can be deleted or go down at some point in the future.
Flame CZE
S3 licensed
Moderator
The maximum number of connections should be updated from 48 to 79 on the license selection page: https://www.lfs.net/shop/licenseselect
Flame CZE
S3 licensed
Moderator
When I first opened this thread, you were demo licensed, now it says S3 licensed, so you should be able to unlock your LFS now.
Flame CZE
S3 licensed
Moderator
What did you try to run it?

I've simplified the example apps now - you can check them out in the examples folder. They're also listed in the README. The simplest example is "InSim connection".

You can also use one of these standalone demo applications I've prepared:
- JavaScript: https://github.com/mkapal/node-insim-demo
- TypeScript: https://github.com/mkapal/node-insim-demo-typescript

You can clone the repository and run it on your computer. You need Node.js to run it.
Flame CZE
S3 licensed
Moderator
…and there you can choose to automatically delete old versions of mods.
FGED GREDG RDFGDR GSFDG